package com.laundry.repository;

import com.laundry.entity.OrderItem;
import com.laundry.entity.LaundryOrder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderItemRepository extends JpaRepository<OrderItem, Long> {
    
    List<OrderItem> findByOrder(LaundryOrder order);
}
